package vn.axonactive;

import java.util.List;

import javax.ejb.Stateless;
import javax.inject.Inject;

@Stateless
public class BookService {
	@Inject
	private BookDao bookDao;

	public List<Book> getBooks() {
		return bookDao.getBooks();
	}

	public void saveBook(Book book) {
		bookDao.saveBook(book);
		
	}
	
}
